package com.wang.android.library.di.components;

import android.app.Activity;
import android.app.Service;

import com.wang.android.library.di.modules.ActivityModule;
import com.wang.android.library.di.modules.ServiceModule;
import com.wang.android.library.di.scopes.ActivityScope;

import dagger.Component;

/**
 * Service注射组件
 *
 * @author wujiajun
 */
@ActivityScope
@Component(dependencies = AppComponent.class, modules = {ServiceModule.class})
public interface ServiceComponent
{

    /**
     * 获取注入的Service
     *
     * @return Service
     */
    Service getService();
}
